import {
  createSSRApp
} from "vue";
import * as Pinia from 'pinia';
// 引入 uView UI
import uView from './uni_modules/vk-uview-ui';
import App from "./App.vue";
export function createApp() {
  const app = createSSRApp(App);
  // 使用 uView UI
  app.use(uView);
  app.use(Pinia.createPinia());
  return {
    app,
    Pinia, // 此处必须将 Pinia 返回
  };
}